Code bug in hangman

Category: Zone BBS Suggestions and Feedback

Post 1 by blbobby (Ooo you're gona like this!) on Tuesday, 16-Mar-2010 20:57:38

I was playing hangman today and ran across some strange things at the top of my screen:

"Deprecated: Function ereg() is deprecated in /home/zonebbs/zonebbs/web/hangman/index.php on line 87

Deprecated: Function ereg_replace() is deprecated in /home/zonebbs/zonebbs/web/hangman/index.php on line 75

Deprecated: Function ereg_replace() is deprecated in /home/zonebbs/zonebbs/web/hangman/index.php on line 76

Warning: Cannot modify header information - headers already sent by (output started at /home/zonebbs/zonebbs/web/hangman/index.php:87) in /home/zonebbs/zonebbs/web/inc.php on line 306

Warning: Cannot modify header information - headers already sent by (output started at /home/zonebbs/zonebbs/web/hangman/index.php:87) in /home/zonebbs/zonebbs/web/inc.php on line 308

Warning: Cannot modify header information - headers already sent by (output started at /home/zonebbs/zonebbs/web/hangman/index.php:87) in /home/zonebbs/zonebbs/web/inc.php on line 310

Warning: Cannot modify header information - headers already sent by (output started at /home/zonebbs/zonebbs/web/hangman/index.php:87) in /home/zonebbs/zonebbs/web/inc.php on line 312

Warning: Cannot modify header information - headers already sent by (output started at /home/zonebbs/zonebbs/web/hangman/index.php:87) in /home/zonebbs/zonebbs/web/inc.php on line 314"

My guess is that a compiler or something has been updated since this code was put in.

Anyone else seen something like this?

Bob

Post 2 by OceanDream (An Ocean of Thoughts) on Wednesday, 17-Mar-2010 16:47:18

Yes. I have actually. I was wondering if it was the coding of the site, or if Internet Exploder....I mean, explorer, was being a piece of shit, as it is often known to do.

Post 3 by Sword of Sapphire (Whether you agree with my opinion or not, you're still gonna read it!) on Wednesday, 17-Mar-2010 22:23:59

Yes, I've seen this as well. I have no idea what it is. When I first saw it, I thought there was something wrong with the web page.

Post 4 by someone else (Zone BBS Addict) on Thursday, 18-Mar-2010 9:35:43

I've seen that same thing too. But I have no clue what it is either.

Post 5 by TylerK (This site is so "educational") on Thursday, 18-Mar-2010 15:20:16

That's basically a warning to the admins that the PHP functions they're using, ereg() and ereg_replace(), are deprecated (out of common usage). It's a warning, and can safely be ignored.

Post 6 by Chris N (I just keep on posting!) on Thursday, 18-Mar-2010 20:05:23

We're looking into replacing Hangman. It's old, and the code (variable names, comments, etc.) is written in Italian. Where JJ found it I have no idea. Anyway, if anyone would like to recommend an existing Hangman game or code something up in php that would speed up the process.

Post 7 by djgfire (Generic Zoner) on Tuesday, 27-Apr-2010 11:01:21

There is also a bug in stones. If you click "Let's Play: you'll continuously win points.

Post 8 by OceanDream (An Ocean of Thoughts) on Tuesday, 27-Apr-2010 11:45:05

I can't count all the times that stones bug has been mentioned on various topics.

Post 9 by Harmony (I've now got the silver prolific poster award! wahoo!) on Friday, 03-Sep-2010 14:53:09

Even so, there is a way of not displaying the actual code on the web page, but yes it is old and stones should really be fixed somehow because I know some people lose points all the time on that thing when they press play again.

Post 10 by synthesizer101 (I just keep on posting!) on Saturday, 11-Sep-2010 13:22:52

Actually, stones has another error, where when you win, it would tell you your total points before adding the 25. Anyway, it's much too easy for me to win, so I don't play it anymore.